package com.snow.useviewdemo.function2.deviceid;

import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;

import com.snow.img.ImageUtil;
import com.snow.useviewdemo.R;
import com.snow.useviewdemo.base.BaseActivity;
import com.snow.useviewdemo.databinding.ActivityObtailDeviceidBinding;
import com.snow.useviewdemo.databinding.ActivityStatusStyleBinding;
import com.snow.useviewdemo.util.statusbar.StatusBarCompat;

/**
 * Created by zhaoyingtao
 * Date: 2020/7/8
 * Describe:获取设备唯一标识
 */
public class ObtailDeviceIdActivity extends BaseActivity<ActivityObtailDeviceidBinding> {


    @Override
    protected int getLayoutId() {
        return R.layout.activity_obtail_deviceid;
    }


    @Override
    protected void setViewData(Bundle savedInstanceState) {
        mBinding.textView01.setText("手机品牌：" + Build.BRAND);
        mBinding.textView02.setText("手机型号：" + Build.MODEL);
        mBinding.textView03.setText("手机系统：" + "Android " + Build.VERSION.RELEASE);
//        mBinding.textView04.setText("手机唯一标识：" + ObtailUtils.getDeviceID(this));
        mBinding.textView04.setText("手机唯一标识：" + ObtailUtils.getPhoneUniqueIdentificationOne());

    }

}
